#pragma once

#include "type.h"
#include "debug.h"

using namespace AllTing;

namespace AllTing
{

namespace Test
{

static const UInt32 DEBUG_XCODE_MAX_LOG_BUFFER = 8192;

class DebugXcode : public Debug
{
public:
	DebugXcode(IWritable* pWritable):Debug(pWritable)
	{
		szBuffer_[0] = Null;
	}
	virtual ~DebugXcode();

	virtual UInt32 Log(Char* pszFormat, ...) const;
	virtual Bool Report() const;
protected:
	mutable Char	szBuffer_[DEBUG_XCODE_MAX_LOG_BUFFER];
};

}	//namespace Test

}	//namespace AllTing